package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD:src/main/java/com/accp/entity/PsInspectiontaskMain.java
 * @author 曹畅
 * @since 2019-11-20
=======
 * @author wyk
 * @since 2019-11-15
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c:src/main/java/com/accp/entity/PsInspectiontask.java
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsInspectiontask extends Model<PsInspectiontask> {

    private static final long serialVersionUID=1L;

<<<<<<< HEAD:src/main/java/com/accp/entity/PsInspectiontaskMain.java
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("inspectionTaskCode")
    private String inspectionTaskCode;

    @TableField("inspectionTaskName")
    private String inspectionTaskName;

    @TableField("lineId")
    private String lineId;

    @TableField("startPole")
    private String startPole;

    @TableField("endPole")
    private String endPole;

    private Integer userid;

    @TableField("issuedTime")
    private LocalDateTime issuedTime;

    @TableField("taskStatus")
    private Integer taskStatus;

    @TableField("taskStatusName")
    private String taskStatusName;

    @TableField("finishTime")
    private LocalDateTime finishTime;

    @TableField("isCancel")
    private Integer isCancel;

    private String common;

    @TableField("creationTime")
    private LocalDateTime creationTime;
=======
    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 巡检任务编号
     */
    @TableField("INSPECTIONTASKCODE")
    private String inspectiontaskcode;

    /**
     * 巡检任务名称
     */
    @TableField("INSPECTIONTASKNAME")
    private String inspectiontaskname;

    /**
     * 所属线路ID
     */
    @TableField("LINEID")
    private Integer lineid;

    /**
     * 下发人id
     */
    @TableField("ISSUEDBYID")
    private Integer issuedbyid;

    /**
     * 任务下发时间
     */
    @TableField("ISSUEDTIME")
    private LocalDateTime issuedtime;

    /**
     * 任务状态ID 1表示待分配2表示已分配3表示执行中4表示已完成
     */
    @TableField("TASKSTATUS")
    private Integer taskstatus;

    /**
     * 任务状态名称
     */
    @TableField("TASKSTATUSNAME")
    private String taskstatusname;

    /**
     * 任务完成时间
     */
    @TableField("FINISHTIME")
    private LocalDateTime finishtime;

    /**
     * 备注
     */
    @TableField("COMMON")
    private String common;

    /**
     * 创建时间
     */
    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c:src/main/java/com/accp/entity/PsInspectiontask.java

    @TableField("createdBy")
    private String createdBy;

<<<<<<< HEAD:src/main/java/com/accp/entity/PsInspectiontaskMain.java
    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;
=======
    /**
     * 最后修改时间
     */
    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c:src/main/java/com/accp/entity/PsInspectiontask.java

    /**
     * 任务是否取消0表示是1表示否
     */
    @TableField("ISCANCEL")
    private Integer iscancel;

    /**
     * 巡检时间
     */
    @TableField("INSPECTTIME")
    private LocalDateTime inspecttime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
